package wikiPhilia;

import java.util.ArrayList;
import java.util.HashMap;

import processing.core.PApplet;

public class HashMapTest extends PApplet {
	
	public void setup() {
		HashMap<String,String> myTestMap = new HashMap<String,String>();
		ArrayList<String> myTestArray = new ArrayList<String>();
		myTestMap.put("f", "first");
		myTestMap.put("s", "second");
		myTestMap.put("t", "third");
		myTestArray = new ArrayList<String>(myTestMap.values());
		System.out.println(myTestArray.toString());
		myTestMap.remove("t");
		myTestArray = new ArrayList<String>(myTestMap.values());
		System.out.println(myTestArray.toString());
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
